Skip to content

[Foundation] Remove warning due to the Equals accepting a null value. - #12839

Merged
mandel-macaque merged 2 commits into
dotnet:mainfrom
mandel-macaque:nshost-warning
Sep 28, 2021
Merged

[Foundation] Remove warning due to the Equals accepting a null value.#12839
mandel-macaque merged 2 commits into
dotnet:mainfrom
mandel-macaque:nshost-warning

Conversation

@mandel-macaque

Copy link
Copy Markdown
Contributor

Removes the following warning during the builds:

warning CS8767: Nullability of reference types in type of parameter 'host' of 'bool NSHost.Equals(NSHost host)' doesn't match implicitly implemented member 'bool IEquatable<NSHost>.Equals(NSHost? other)' (possibly because of nullability attributes)

Test was added to ensure that we did not throw an exception.

Removes the following warning during the builds:

```
warning CS8767: Nullability of reference types in type of parameter 'host' of 'bool NSHost.Equals(NSHost host)' doesn't match implicitly implemented member 'bool IEquatable<NSHost>.Equals(NSHost? other)' (possibly because of nullability attributes)
```

Test was added to ensure that we did not throw an exception.
@mandel-macaque mandel-macaque added the not-notes-worthy Ignore for release notes label Sep 27, 2021
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Tests failed catastrophically on Build (no summary found). 🔥

Result file $(TEST_SUMMARY_PATH) not found.

Pipeline on Agent
Merge fd8ba69 into ad673ae

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

API Diff (from PR only) (no change)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

3 tests failed, 99 tests passed.

Failed tests

  • link sdk/Mac Catalyst [dotnet]/Debug [dotnet]: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)
  • xcframework-test/Mac Catalyst [dotnet]/Debug [dotnet]: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)
  • Cecil-based tests/NUnit: Failed (Execution failed with exit code 6)

Pipeline on Agent XAMBOT-1104.BigSur'
Merge f2e2c7b into 5cd7c96

@mandel-macaque

Copy link
Copy Markdown
Contributor Author

@mandel-macaque
mandel-macaque merged commit b20ca55 into dotnet:main Sep 28, 2021
@mandel-macaque

Copy link
Copy Markdown
Contributor Author

/sudo backport xcode13-ios

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

Backport Job to branch xcode13-ios Created! The magic is happening here

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5262544 for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-notes-worthy Ignore for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants